package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <desc>
 *      设备多媒体信息表。
 * </desc>
 *
 * @createDate 2017/09/20
 */
@ItlTables("device_media_info")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper=true)
public class DeviceMediaInfoPO extends BasePO implements Serializable {

    @ItlField(value = "media_id", logicKey = "key")
    private String mediaId;                 //多媒体ID

    @ItlField("project_id")
    private String projectId;           //项目编号，由8位数字构成,00000001~99999999.

    @ItlField("title")
    private String title;               //标题

    @ItlField("children_type")
    private Integer childrenType;                //人脸识别设备子类别：2-门禁，12-云电梯

    @ItlField("type")
    private Integer type;                  //类型(1-文字 2-图片 3-视频)

    @ItlField("content")
    private String content;             //简介

    @ItlField("attache_file")
    private String attacheFile;         //附件名称

    @ItlField("attache_file_url")
    private String attacheFileUrl;      //附件地址

    @ItlField("attache_file_md5")
    private String attacheFileMd5; //附件MD5校验值

    @ItlField("put_start_time")
    private Date putStartTime; //投放开始时间

    @ItlField("put_end_time")
    private Date putEndTime; //投放结束时间

    @ItlField("publish_status")
    private Integer publishStatus;  // 发布状态0-已过期 1-已发布 2-未发布

    @ItlField("equip_type")
    private Integer equipType;  // 设备类型：3-云对讲，15-平板人脸识别，2-云门禁

}